-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consensus: Utxoview based script validation #135
Conversation
I'm getting this from ibdsim side and Validation seems to be working. |
@@ -2,6 +2,16 @@ package util | |||
|
|||
import ( | |||
"fmt" | |||
|
|||
"github.com/btcsuite/btcd/txscript" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extra empty lines in imports shouldn't be there
@kcalvinalvin This should be the same thing i ran into, that happens when genproofs is done sending blocks and closes the connnection. Got fixed with #136. |
There's currently no way to make UtxoEntries in btcd, and all the fields are unexported so I added a NewUtxoEntry function there.
Seems to work! Seems to be checking signatures which is cool.
The go.mod doesn't seem to do anything
I'm having some build weirdness on my local machine but I probably just don't have go mod set up right. Seems to work OK here though so merging. It still doesn't do everything, but it does the important signature checks. |
…d-translate-positions mappollard: translate positions on GetLeafPosition
It's a different way of doing #134 and doesn't do all the checks #134 has, but seems to work with minimal additions to btcd.